package com.example.victory.config;

import com.example.victory.exception.GlobalError;

/**
 * 微服务内部错误码
 */
public class ServiceError {
    public static final GlobalError IDCODE_NOT_EXISTS = new GlobalError(1201, "id为{0}的身份证信息不存在", "");
    public static final GlobalError IDCODETYPE_NOT_EXISTS = new GlobalError(1202, "id为{0}的证件类型不存在", "");
    public static final GlobalError ACCOUNT_NOT_EXISTS = new GlobalError(1203, "请关联子账号", "");
    public static final GlobalError CRM_CUSTOMER_STATUS = new GlobalError(1204, "请求客户状态接口失败", "");
    public static final GlobalError QUERY_CUSTOMER_STATUS = new GlobalError(1205, "请求查询员工授权接口失败", "");
    public static final GlobalError QUERY_CUSTOMER_INFO = new GlobalError(1206, "请求客户号获取客户详情列表失败", "");
    public static final GlobalError QUERY_CUSTOMER_DETAIL_INFO = new GlobalError(1207, "请求获取员工详情列表失败", "");
    public static final GlobalError QUERY_CUSTOMER_ATTEND_INFO = new GlobalError(1207, "该客户没有投顾", "");
    public static final GlobalError QUERY_FCID_ATTEND_INFO = new GlobalError(1208, "根据投顾id查手机号错误", "");
    public static final GlobalError CUSTOMER_TYPE_FAIL= new GlobalError(1209, "客户所在的列表类型不存在", "");
    public static final GlobalError CUSTOMER_IS_STORE_FAIL= new GlobalError(1210, "收藏客户类型不一致", "");
    public static final GlobalError CUSTOMER_ACTIVE_FAIL= new GlobalError(1210, "活跃指标筛选两个字段必须同时携带", "");
    public static final GlobalError CUSTOMER_ACTIVE_TYPE_FAIL= new GlobalError(1211, "没有该活跃类型", "");
    public static final GlobalError CUSTOMER_RELATION_TYPE_FAIL= new GlobalError(1212, "没有该客户关系类型", "");
    public static final GlobalError MVP_QUERY_FAIL = new GlobalError(1213, "MVP查询账号异常", "");
    public static final GlobalError OA_ACCOUNT_QUERY_FAIL = new GlobalError(1213, "oaId查询账号异常", "");
    public static final GlobalError REQUEST_CRMAPI_FAIL = new GlobalError(1214, "请求crmapi失败", "");
    public static final GlobalError REQUEST_CRMAPI_FAIL_MESSAGE = new GlobalError(1215, "{0}", "");
    public static final GlobalError PARSE_FSDP_RESP_ERROR = new GlobalError(1216, "解析crmapi响应体异常", "");
    public static final GlobalError QUERY_FSDP_MANAGER_ERROR = new GlobalError(1217, "无权访问该客户", "");
    public static final GlobalError QUERY_MARKET_DAY_ERROR = new GlobalError(1218, "日期请求格式不正确", "");
    public static final GlobalError APP_VERSION_FORMAT_ERROR = new GlobalError(1219, "APP版本格式不正确", "");
    public static final GlobalError PERMISSION_DENIED  = new GlobalError(1220, "访问拒绝", "");
    public static final GlobalError CRM_ID_NOT_FOUND = new GlobalError(1221, "当前用户无营销人员编码", "");

    public static final GlobalError REQUEST_FSDP_ERROR = new GlobalError(3010, "feign调用fsdp发生异常", "");
    public static final GlobalError REQUEST_RESPONSE_ERROR = new GlobalError(3002, "请求FSDP接口错误", "");
    public static final GlobalError RESPONSE_DECODE_ERROR = new GlobalError(3003, "FSDP解密出错", "");

}
